import React from 'react';
import ReactDOM from 'react-dom';

//useNavigate() 只能在Router组件的上下文中使用
import { BrowserRouter } from "react-router-dom";

import App from './App';

ReactDOM.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>,
  document.getElementById('root')
);

